<!DOCTYPE html>
<html>
<head>
<title>全周期教学平台</title>
<link href="login/css/style.css" rel='stylesheet' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Simple Login Form,Login Forms,Sign up Forms,Registration Forms,News latter Forms,Elements"./>
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <script typet="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
</head>
<body>

<!--/start-login-one-->
<h1 style="font-size: 33px;margin-top: 50px" >全周期教学平台</h1>
		<div class="login" >
			<div class="ribbon-wrapper h2 ribbon-red">
				<div class="ribbon-front">
					<h2>用户登录</h2>
				</div>
				<div class="ribbon-edge-topleft2"></div>
				<div class="ribbon-edge-bottomleft"></div>
			</div>
			<form>
				<ul>
					<li>
						<input type="text" class="text" id="username"  placeholder="用户名" ><a href="#" class=" icon user"></a>
					</li>
					 <li>
						<input type="password" id="password" placeholder="密码" ><a href="#" class=" icon lock"></a>
					</li>
				</ul>

			</form>
			<div class="submit">
				<input type="submit" id="login" value="立即进入" >
			</div>
		</div>
<!--&lt;!&ndash;start-copyright&ndash;&gt;-->
   		<!--<div class="copy-right">-->
				<!--<p>Copyright &copy; 2015  All rights  Reserved | Template by &nbsp;<a href="http://www.smallseashell.com">.小贝壳网站模板.</a></p>-->
		<!--</div>-->
	<!--&lt;!&ndash;//end-copyright&ndash;&gt;-->
</body>
<script>
    $(function () {
        $("#login").click(function () {
            if($("#username").val()==="admin"&&$("#password").val()==="123456"){
                window.location.href="index.html"
            }else {
                alert("登录失败")
            }
            if($("#username").val()===""&&$("#password").val()===""){
                alert("用户名密码不能为空")
            }
        })
    })
</script>
</html>